import java.io.BufferedReader;
import java.io.Console;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.TreeMap;

public class First {

    public static void main(String[] args) throws Exception {



//        throw new Exception("手动抛一个异常");

//        StringBuffer sb = new StringBuffer("helloworld");
//        System.out.println(sb.delete(5, 10));

//        Console console = System.console();
////        if(console == null){
////            throw new IllegalStateException("Consol is null");
////        }
//        String str = null;
//        while(true){
//            str = console.readLine("请输入");
//            if("q".equals(str)) break;
//            System.out.println(str);
//        }



//        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
//        String str = null;
////        while(true){
//            try{
//                str = input.readLine();
//
//            }catch (IOException e){
//                e.printStackTrace();
//            }
////            if(str.equals("q"))break;
//            System.out.println(str);
////        }



//        Scanner scanner = new Scanner(System.in);
//        int a;
//        a = scanner.nextInt();
//        System.out.println(a);

//
//        System.out.println(1111);//换行打印
//        System.out.print(1111);//不换行打印
//        System.out.println();
//        System.out.write(2222);//字节输出
//        System.out.println();
//        System.out.printf("%+8.3f\n", 3.14);//按格式输出

    }

}
